#ifndef STRATUM_REMOTE_H
#define STRATUM_REMOTE_H

#include "object.h"

#define STRATUM_REMOTE_CLOSED      0
#define STRATUM_REMOTE_SUBSCRIBE   1
#define STRATUM_REMOTE_AUTHORIZE   2
#define STRATUM_REMOTE_EXTRA_NONCE 3
#define STRATUM_REMOTE_READY       4
#define STRATUM_REMOTE_RESET       5
#define STRATUM_REMOTE_TERMINATE   6

class StratumRenter: public StratumObject {
public:
    double m_balance;
    int m_updated;
};

class StratumRemote: public StratumObject {
public:
    bool m_touch;
    bool m_kill;
    int m_status;
    int m_updated;
    StratumRenter* m_renter;
    StratumSocket* m_sock;

};


#endif //STRATUM_REMOTE_H
